package dao.impl.jpa;

import java.util.List;

import dao.ContinentDAO;
import domain.Continent;

public class ContinentDAOImpl extends BasePersistence implements ContinentDAO {

	@SuppressWarnings("unchecked")
	@Override
	public List<Continent> findAll() {
        open();
        List<Continent> set = em.createNamedQuery("Continent.findAll").getResultList();
        close();
		return set;
	}
}
